Optimal. Leaf size=44 \[ \frac {(d+e x)^{1+p} \left (c d^2+2 c d e x+c e^2 x^2\right )^{-p}}{e (1-p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {658, 32}
\begin {gather*} \frac {(d+e x)^{p+1} \left (c d^2+2 c d e x+c e^2 x^2\right )^{-p}}{e (1-p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 658
Rubi steps
\begin {align*} \int (d+e x)^p \left (c d^2+2 c d e x+c e^2 x^2\right )^{-p} \, dx &=\left ((d+e x)^{2 p} \left (c d^2+2 c d e x+c e^2 x^2\right )^{-p}\right ) \int (d+e x)^{-p} \, dx\\ &=\frac {(d+e x)^{1+p} \left (c d^2+2 c d e x+c e^2 x^2\right )^{-p}}{e (1-p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 31, normalized size = 0.70 \begin {gather*} \frac {(d+e x)^{1+p} \left (c (d+e x)^2\right )^{-p}}{e-e p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.67, size = 44, normalized size = 1.00
method | result | size |
gosper | \(-\frac {\left (e x +d \right )^{1+p} \left (x^{2} c \,e^{2}+2 c d e x +c \,d^{2}\right )^{-p}}{e \left (-1+p \right )}\) | \(44\) |
norman | \(\left (-\frac {x \,{\mathrm e}^{p \ln \left (e x +d \right )}}{-1+p}-\frac {d \,{\mathrm e}^{p \ln \left (e x +d \right )}}{e \left (-1+p \right )}\right ) {\mathrm e}^{-p \ln \left (x^{2} c \,e^{2}+2 c d e x +c \,d^{2}\right )}\) | \(66\) |
risch | \(-\frac {\left (e x +d \right ) \left (e x +d \right )^{p} {\mathrm e}^{-\frac {p \left (-i \mathrm {csgn}\left (i \left (e x +d \right )^{2}\right )^{3} \pi +2 i \mathrm {csgn}\left (i \left (e x +d \right )^{2}\right )^{2} \mathrm {csgn}\left (i \left (e x +d \right )\right ) \pi -i \mathrm {csgn}\left (i \left (e x +d \right )^{2}\right ) \mathrm {csgn}\left (i \left (e x +d \right )\right )^{2} \pi +i \mathrm {csgn}\left (i \left (e x +d \right )^{2}\right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{2}\right )^{2} \pi -i \mathrm {csgn}\left (i \left (e x +d \right )^{2}\right ) \mathrm {csgn}\left (i c \left (e x +d \right )^{2}\right ) \mathrm {csgn}\left (i c \right ) \pi -i \mathrm {csgn}\left (i c \left (e x +d \right )^{2}\right )^{3} \pi +i \mathrm {csgn}\left (i c \left (e x +d \right )^{2}\right )^{2} \mathrm {csgn}\left (i c \right ) \pi +4 \ln \left (e x +d \right )+2 \ln \left (c \right )\right )}{2}}}{e \left (-1+p \right )}\) | \(211\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 30, normalized size = 0.68 \begin {gather*} -\frac {{\left (x e + d\right )} e^{\left (-1\right )}}{{\left (x e + d\right )}^{p} c^{p} {\left (p - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.13, size = 30, normalized size = 0.68 \begin {gather*} -\frac {{\left (x e + d\right )} e^{\left (-1\right )}}{{\left (x e + d\right )}^{p} c^{p} {\left (p - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.04, size = 69, normalized size = 1.57 \begin {gather*} -\frac {{\left (x e + d\right )}^{p} x e^{\left (-2 \, p \log \left (x e + d\right ) - p \log \left (c\right ) + 1\right )} + {\left (x e + d\right )}^{p} d e^{\left (-2 \, p \log \left (x e + d\right ) - p \log \left (c\right )\right )}}{p e - e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.47, size = 43, normalized size = 0.98 \begin {gather*} -\frac {{\left (d+e\,x\right )}^{p+1}}{e\,\left (p-1\right )\,{\left (c\,d^2+2\,c\,d\,e\,x+c\,e^2\,x^2\right )}^p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________